import Vue from 'vue'
import Vuex from 'vuex'

import mutations from './mutations'
import actions from './actions'
import getters from './getters';

Vue.use(Vuex);

const state = {
    loginJudge: false, // 判断登录，注册和个人页面的出现关系,
    uid: '',
    userName: '',
    passWord: '',
    phone: '',
    gender: '',
    age: '',
    email: '',
    status: '',
};

const store = new Vuex.Store({
    state,
    mutations,
    actions,
    getters,
});

export default store